package mill.components;

import java.util.Date;

public class Computer extends MillComponent{

	private int m_coreNumber;
	
	public Computer(Date commisionDate, String manufacture, int cores) {
		super(commisionDate, manufacture);

		m_coreNumber = cores;
	}

	public synchronized int getM_coreNumber() {
		return m_coreNumber;
	}

	public synchronized void setM_coreNumber(int number) {
		m_coreNumber = number;
	}

	@Override
	public String toString()
	{
		return "Computer";
	}
}
